import {
	createRouter,
	createWebHistory
} from "vue-router";

// 路由
export const routes = [{
	path: '/',
	component: () => import('@/views/login.vue')
},
{
	path: '/index',
	component: () => import('@/views/index.vue')
},
{
	path: '/useradmin/list',
	component: () => import('@/views/useradmin/list.vue')
},
{
	path: '/scriptadmin/list',
	component: () => import('@/views/scriptadmin/list.vue')
},
{
	path: '/main/list',
	component: () => import('@/views/main/list.vue')
},
{
	path: '/share/list',
	component: () => import('@/views/share/list.vue')
},
{
	path: '/script/list',
	component: () => import('@/views/script/list.vue')
},
]

const router = createRouter({
	history: createWebHistory(),
	routes: routes
});
export default router;